import { createApp } from 'vue'
import App from './App.vue'
import installPlugin from '@/plugins' // 全局插件
import { setupRouter } from './router' // 路由
import { setupStore } from './store'

function setupApp() {
  const app = createApp(App)
  installPlugin(app)
  setupRouter(app)
  setupStore(app)
  app.mount('#app')
}

void setupApp()
